package com.eastcom.providor.dao;

import java.util.List;
import java.util.Map;

import com.eastcom.bm.atom.Atom_MetalKpiExpand;

public interface IMetalKpiExpandDao {
	
    public void saveMetalKpiExpands(List<Atom_MetalKpiExpand> metalKpiExpands)throws Exception;
	
    public void editLstVersionMetalKpiExpandByKpiId(String kpiId,Atom_MetalKpiExpand metalKpiExpand)throws Exception;
    
	public void editMetalKpiExpands(List<Atom_MetalKpiExpand> metalKpiExpands)throws Exception;
	
	public void editMetalKpiExpandByKpiId(List<Atom_MetalKpiExpand> metalKpiExpands,String kpiId)throws Exception;
	
	public List<Atom_MetalKpiExpand> selectMetalKpiExpandByKpiId(String kpiId,boolean initialKpiBase)throws Exception;
	
	public Map<Object,Map> selectMetalKpiExpOfLastVersion()throws Exception;
	
	public Map<Object,Map> selectKpiLastVersion()throws Exception;
	
	public Map<Object,Map> selectKpiLastVersionByKpiId(String kpiId)throws Exception;
}
